package org.qqcui.designpattern.patterns.facade;

/**
 * DVD播放器
 *
 * @author cuiqingqiang
 * @version 1.0
 * @date 2022/4/29 16:13
 **/
public class DVDPlayer {

    private static final DVDPlayer instance = new DVDPlayer();

    public static DVDPlayer getInstance() {
        return instance;
    }

    public void on() {
        System.out.println("DVDPlayer is on");
    }

    public void off() {
        System.out.println("DVDPlayer is off");
    }

    public void play() {
        System.out.println("DVDPlayer is playing");
    }

    public void pause() {
        System.out.println("DVDPlayer is pause");
    }
}
